3.707 \(\int \frac{\cos ^8(c+d x) \sin ^3(c+d x)}{a+a \sin (c+d x)} \, dx\)

Optimal. Leaf size=165 \[ \frac{\cos ^9(c+d x)}{9 a d}-\frac{\cos ^7(c+d x)}{7 a d}+\frac{\sin ^3(c+d x) \cos ^7(c+d x)}{10 a d}+\frac{3 \sin (c+d x) \cos ^7(c+d x)}{80 a d}-\frac{\sin (c+d x) \cos ^5(c+d x)}{160 a d}-\frac{\sin (c+d x) \cos ^3(c+d x)}{128 a d}-\frac{3 \sin (c+d x) \cos (c+d x)}{256 a d}-\frac{3 x}{256 a} \]

[Out]

(-3*x)/(256*a) - Cos[c + d*x]^7/(7*a*d) + Cos[c + d*x]^9/(9*a*d) - (3*Cos[c + d*x]*Sin[c + d*x])/(256*a*d) - (
Cos[c + d*x]^3*Sin[c + d*x])/(128*a*d) - (Cos[c + d*x]^5*Sin[c + d*x])/(160*a*d) + (3*Cos[c + d*x]^7*Sin[c + d
*x])/(80*a*d) + (Cos[c + d*x]^7*Sin[c + d*x]^3)/(10*a*d)

________________________________________________________________________________________

Rubi [A]  time = 0.237026, antiderivative size = 165, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207, Rules used = {2839, 2565, 14, 2568, 2635, 8} \[ \frac{\cos ^9(c+d x)}{9 a d}-\frac{\cos ^7(c+d x)}{7 a d}+\frac{\sin ^3(c+d x) \cos ^7(c+d x)}{10 a d}+\frac{3 \sin (c+d x) \cos ^7(c+d x)}{80 a d}-\frac{\sin (c+d x) \cos ^5(c+d x)}{160 a d}-\frac{\sin (c+d x) \cos ^3(c+d x)}{128 a d}-\frac{3 \sin (c+d x) \cos (c+d x)}{256 a d}-\frac{3 x}{256 a} \]

Antiderivative was successfully verified.

[In]

Int[(Cos[c + d*x]^8*Sin[c + d*x]^3)/(a + a*Sin[c + d*x]),x]

[Out]

(-3*x)/(256*a) - Cos[c + d*x]^7/(7*a*d) + Cos[c + d*x]^9/(9*a*d) - (3*Cos[c + d*x]*Sin[c + d*x])/(256*a*d) - (
Cos[c + d*x]^3*Sin[c + d*x])/(128*a*d) - (Cos[c + d*x]^5*Sin[c + d*x])/(160*a*d) + (3*Cos[c + d*x]^7*Sin[c + d
*x])/(80*a*d) + (Cos[c + d*x]^7*Sin[c + d*x]^3)/(10*a*d)

Rule 2839

Int[((cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((d_.)*sin[(e_.) + (f_.)*(x_)])^(n_.))/((a_) + (b_.)*sin[(e_.) + (f_
.)*(x_)]), x_Symbol] :> Dist[g^2/a, Int[(g*Cos[e + f*x])^(p - 2)*(d*Sin[e + f*x])^n, x], x] - Dist[g^2/(b*d),
Int[(g*Cos[e + f*x])^(p - 2)*(d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, d, e, f, g, n, p}, x] && EqQ[a^2
 - b^2, 0]

Rule 2565

Int[(cos[(e_.) + (f_.)*(x_)]*(a_.))^(m_.)*sin[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(a*f)^(-1), Subst[
Int[x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Cos[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2]
 &&  !(IntegerQ[(m - 1)/2] && GtQ[m, 0] && LeQ[m, n])

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2568

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> -Simp[(a*(b*Cos[e
+ f*x])^(n + 1)*(a*Sin[e + f*x])^(m - 1))/(b*f*(m + n)), x] + Dist[(a^2*(m - 1))/(m + n), Int[(b*Cos[e + f*x])
^n*(a*Sin[e + f*x])^(m - 2), x], x] /; FreeQ[{a, b, e, f, n}, x] && GtQ[m, 1] && NeQ[m + n, 0] && IntegersQ[2*
m, 2*n]

Rule 2635

Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> -Simp[(b*Cos[c + d*x]*(b*Sin[c + d*x])^(n - 1))/(d*n),
x] + Dist[(b^2*(n - 1))/n, Int[(b*Sin[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && Integer
Q[2*n]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin{align*} \int \frac{\cos ^8(c+d x) \sin ^3(c+d x)}{a+a \sin (c+d x)} \, dx &=\frac{\int \cos ^6(c+d x) \sin ^3(c+d x) \, dx}{a}-\frac{\int \cos ^6(c+d x) \sin ^4(c+d x) \, dx}{a}\\ &=\frac{\cos ^7(c+d x) \sin ^3(c+d x)}{10 a d}-\frac{3 \int \cos ^6(c+d x) \sin ^2(c+d x) \, dx}{10 a}-\frac{\operatorname{Subst}\left (\int x^6 \left (1-x^2\right ) \, dx,x,\cos (c+d x)\right )}{a d}\\ &=\frac{3 \cos ^7(c+d x) \sin (c+d x)}{80 a d}+\frac{\cos ^7(c+d x) \sin ^3(c+d x)}{10 a d}-\frac{3 \int \cos ^6(c+d x) \, dx}{80 a}-\frac{\operatorname{Subst}\left (\int \left (x^6-x^8\right ) \, dx,x,\cos (c+d x)\right )}{a d}\\ &=-\frac{\cos ^7(c+d x)}{7 a d}+\frac{\cos ^9(c+d x)}{9 a d}-\frac{\cos ^5(c+d x) \sin (c+d x)}{160 a d}+\frac{3 \cos ^7(c+d x) \sin (c+d x)}{80 a d}+\frac{\cos ^7(c+d x) \sin ^3(c+d x)}{10 a d}-\frac{\int \cos ^4(c+d x) \, dx}{32 a}\\ &=-\frac{\cos ^7(c+d x)}{7 a d}+\frac{\cos ^9(c+d x)}{9 a d}-\frac{\cos ^3(c+d x) \sin (c+d x)}{128 a d}-\frac{\cos ^5(c+d x) \sin (c+d x)}{160 a d}+\frac{3 \cos ^7(c+d x) \sin (c+d x)}{80 a d}+\frac{\cos ^7(c+d x) \sin ^3(c+d x)}{10 a d}-\frac{3 \int \cos ^2(c+d x) \, dx}{128 a}\\ &=-\frac{\cos ^7(c+d x)}{7 a d}+\frac{\cos ^9(c+d x)}{9 a d}-\frac{3 \cos (c+d x) \sin (c+d x)}{256 a d}-\frac{\cos ^3(c+d x) \sin (c+d x)}{128 a d}-\frac{\cos ^5(c+d x) \sin (c+d x)}{160 a d}+\frac{3 \cos ^7(c+d x) \sin (c+d x)}{80 a d}+\frac{\cos ^7(c+d x) \sin ^3(c+d x)}{10 a d}-\frac{3 \int 1 \, dx}{256 a}\\ &=-\frac{3 x}{256 a}-\frac{\cos ^7(c+d x)}{7 a d}+\frac{\cos ^9(c+d x)}{9 a d}-\frac{3 \cos (c+d x) \sin (c+d x)}{256 a d}-\frac{\cos ^3(c+d x) \sin (c+d x)}{128 a d}-\frac{\cos ^5(c+d x) \sin (c+d x)}{160 a d}+\frac{3 \cos ^7(c+d x) \sin (c+d x)}{80 a d}+\frac{\cos ^7(c+d x) \sin ^3(c+d x)}{10 a d}\\ \end{align*}

Mathematica [B]  time = 15.1624, size = 533, normalized size = 3.23 \[ -\frac{15120 d x \sin \left (\frac{c}{2}\right )-15120 \sin \left (\frac{c}{2}+d x\right )+15120 \sin \left (\frac{3 c}{2}+d x\right )+1260 \sin \left (\frac{3 c}{2}+2 d x\right )+1260 \sin \left (\frac{5 c}{2}+2 d x\right )-6720 \sin \left (\frac{5 c}{2}+3 d x\right )+6720 \sin \left (\frac{7 c}{2}+3 d x\right )-2520 \sin \left (\frac{7 c}{2}+4 d x\right )-2520 \sin \left (\frac{9 c}{2}+4 d x\right )-630 \sin \left (\frac{11 c}{2}+6 d x\right )-630 \sin \left (\frac{13 c}{2}+6 d x\right )+1080 \sin \left (\frac{13 c}{2}+7 d x\right )-1080 \sin \left (\frac{15 c}{2}+7 d x\right )+315 \sin \left (\frac{15 c}{2}+8 d x\right )+315 \sin \left (\frac{17 c}{2}+8 d x\right )+280 \sin \left (\frac{17 c}{2}+9 d x\right )-280 \sin \left (\frac{19 c}{2}+9 d x\right )+126 \sin \left (\frac{19 c}{2}+10 d x\right )+126 \sin \left (\frac{21 c}{2}+10 d x\right )-1260 \cos \left (\frac{c}{2}\right ) (25 c-12 d x)+15120 \cos \left (\frac{c}{2}+d x\right )+15120 \cos \left (\frac{3 c}{2}+d x\right )+1260 \cos \left (\frac{3 c}{2}+2 d x\right )-1260 \cos \left (\frac{5 c}{2}+2 d x\right )+6720 \cos \left (\frac{5 c}{2}+3 d x\right )+6720 \cos \left (\frac{7 c}{2}+3 d x\right )-2520 \cos \left (\frac{7 c}{2}+4 d x\right )+2520 \cos \left (\frac{9 c}{2}+4 d x\right )-630 \cos \left (\frac{11 c}{2}+6 d x\right )+630 \cos \left (\frac{13 c}{2}+6 d x\right )-1080 \cos \left (\frac{13 c}{2}+7 d x\right )-1080 \cos \left (\frac{15 c}{2}+7 d x\right )+315 \cos \left (\frac{15 c}{2}+8 d x\right )-315 \cos \left (\frac{17 c}{2}+8 d x\right )-280 \cos \left (\frac{17 c}{2}+9 d x\right )-280 \cos \left (\frac{19 c}{2}+9 d x\right )+126 \cos \left (\frac{19 c}{2}+10 d x\right )-126 \cos \left (\frac{21 c}{2}+10 d x\right )-31500 c \sin \left (\frac{c}{2}\right )+37800 \sin \left (\frac{c}{2}\right )}{1290240 a d \left (\sin \left (\frac{c}{2}\right )+\cos \left (\frac{c}{2}\right )\right )} \]

Antiderivative was successfully verified.

[In]

Integrate[(Cos[c + d*x]^8*Sin[c + d*x]^3)/(a + a*Sin[c + d*x]),x]

[Out]

-(-1260*(25*c - 12*d*x)*Cos[c/2] + 15120*Cos[c/2 + d*x] + 15120*Cos[(3*c)/2 + d*x] + 1260*Cos[(3*c)/2 + 2*d*x]
 - 1260*Cos[(5*c)/2 + 2*d*x] + 6720*Cos[(5*c)/2 + 3*d*x] + 6720*Cos[(7*c)/2 + 3*d*x] - 2520*Cos[(7*c)/2 + 4*d*
x] + 2520*Cos[(9*c)/2 + 4*d*x] - 630*Cos[(11*c)/2 + 6*d*x] + 630*Cos[(13*c)/2 + 6*d*x] - 1080*Cos[(13*c)/2 + 7
*d*x] - 1080*Cos[(15*c)/2 + 7*d*x] + 315*Cos[(15*c)/2 + 8*d*x] - 315*Cos[(17*c)/2 + 8*d*x] - 280*Cos[(17*c)/2
+ 9*d*x] - 280*Cos[(19*c)/2 + 9*d*x] + 126*Cos[(19*c)/2 + 10*d*x] - 126*Cos[(21*c)/2 + 10*d*x] + 37800*Sin[c/2
] - 31500*c*Sin[c/2] + 15120*d*x*Sin[c/2] - 15120*Sin[c/2 + d*x] + 15120*Sin[(3*c)/2 + d*x] + 1260*Sin[(3*c)/2
 + 2*d*x] + 1260*Sin[(5*c)/2 + 2*d*x] - 6720*Sin[(5*c)/2 + 3*d*x] + 6720*Sin[(7*c)/2 + 3*d*x] - 2520*Sin[(7*c)
/2 + 4*d*x] - 2520*Sin[(9*c)/2 + 4*d*x] - 630*Sin[(11*c)/2 + 6*d*x] - 630*Sin[(13*c)/2 + 6*d*x] + 1080*Sin[(13
*c)/2 + 7*d*x] - 1080*Sin[(15*c)/2 + 7*d*x] + 315*Sin[(15*c)/2 + 8*d*x] + 315*Sin[(17*c)/2 + 8*d*x] + 280*Sin[
(17*c)/2 + 9*d*x] - 280*Sin[(19*c)/2 + 9*d*x] + 126*Sin[(19*c)/2 + 10*d*x] + 126*Sin[(21*c)/2 + 10*d*x])/(1290
240*a*d*(Cos[c/2] + Sin[c/2]))

________________________________________________________________________________________

Maple [B]  time = 0.11, size = 619, normalized size = 3.8 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(d*x+c)^8*sin(d*x+c)^3/(a+a*sin(d*x+c)),x)

[Out]

-4/63/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10+3/128/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)-40/63/d/a/(1+ta
n(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^2+29/128/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^3+8/7/d/
a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^4-867/160/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^
5-72/7/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^6+519/32/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x
+1/2*c)^7-1879/64/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^9-8/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1
/2*d*x+1/2*c)^10+1879/64/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^11-40/3/d/a/(1+tan(1/2*d*x+1/2*c)^
2)^10*tan(1/2*d*x+1/2*c)^12-519/32/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^13+8/3/d/a/(1+tan(1/2*d*
x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^14+867/160/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^15-4/d/a/(1+ta
n(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^16-29/128/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^17-3/12
8/d/a/(1+tan(1/2*d*x+1/2*c)^2)^10*tan(1/2*d*x+1/2*c)^19-3/128/a/d*arctan(tan(1/2*d*x+1/2*c))

________________________________________________________________________________________

Maxima [B]  time = 1.75912, size = 787, normalized size = 4.77 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^8*sin(d*x+c)^3/(a+a*sin(d*x+c)),x, algorithm="maxima")

[Out]

1/40320*((945*sin(d*x + c)/(cos(d*x + c) + 1) - 25600*sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 9135*sin(d*x + c)^
3/(cos(d*x + c) + 1)^3 + 46080*sin(d*x + c)^4/(cos(d*x + c) + 1)^4 - 218484*sin(d*x + c)^5/(cos(d*x + c) + 1)^
5 - 414720*sin(d*x + c)^6/(cos(d*x + c) + 1)^6 + 653940*sin(d*x + c)^7/(cos(d*x + c) + 1)^7 - 1183770*sin(d*x
+ c)^9/(cos(d*x + c) + 1)^9 - 322560*sin(d*x + c)^10/(cos(d*x + c) + 1)^10 + 1183770*sin(d*x + c)^11/(cos(d*x
+ c) + 1)^11 - 537600*sin(d*x + c)^12/(cos(d*x + c) + 1)^12 - 653940*sin(d*x + c)^13/(cos(d*x + c) + 1)^13 + 1
07520*sin(d*x + c)^14/(cos(d*x + c) + 1)^14 + 218484*sin(d*x + c)^15/(cos(d*x + c) + 1)^15 - 161280*sin(d*x +
c)^16/(cos(d*x + c) + 1)^16 - 9135*sin(d*x + c)^17/(cos(d*x + c) + 1)^17 - 945*sin(d*x + c)^19/(cos(d*x + c) +
 1)^19 - 2560)/(a + 10*a*sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 45*a*sin(d*x + c)^4/(cos(d*x + c) + 1)^4 + 120*
a*sin(d*x + c)^6/(cos(d*x + c) + 1)^6 + 210*a*sin(d*x + c)^8/(cos(d*x + c) + 1)^8 + 252*a*sin(d*x + c)^10/(cos
(d*x + c) + 1)^10 + 210*a*sin(d*x + c)^12/(cos(d*x + c) + 1)^12 + 120*a*sin(d*x + c)^14/(cos(d*x + c) + 1)^14
+ 45*a*sin(d*x + c)^16/(cos(d*x + c) + 1)^16 + 10*a*sin(d*x + c)^18/(cos(d*x + c) + 1)^18 + a*sin(d*x + c)^20/
(cos(d*x + c) + 1)^20) - 945*arctan(sin(d*x + c)/(cos(d*x + c) + 1))/a)/d

________________________________________________________________________________________

Fricas [A]  time = 1.17474, size = 252, normalized size = 1.53 \begin{align*} \frac{8960 \, \cos \left (d x + c\right )^{9} - 11520 \, \cos \left (d x + c\right )^{7} - 945 \, d x - 63 \,{\left (128 \, \cos \left (d x + c\right )^{9} - 176 \, \cos \left (d x + c\right )^{7} + 8 \, \cos \left (d x + c\right )^{5} + 10 \, \cos \left (d x + c\right )^{3} + 15 \, \cos \left (d x + c\right )\right )} \sin \left (d x + c\right )}{80640 \, a d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^8*sin(d*x+c)^3/(a+a*sin(d*x+c)),x, algorithm="fricas")

[Out]

1/80640*(8960*cos(d*x + c)^9 - 11520*cos(d*x + c)^7 - 945*d*x - 63*(128*cos(d*x + c)^9 - 176*cos(d*x + c)^7 +
8*cos(d*x + c)^5 + 10*cos(d*x + c)^3 + 15*cos(d*x + c))*sin(d*x + c))/(a*d)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)**8*sin(d*x+c)**3/(a+a*sin(d*x+c)),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]  time = 1.29525, size = 347, normalized size = 2.1 \begin{align*} -\frac{\frac{945 \,{\left (d x + c\right )}}{a} + \frac{2 \,{\left (945 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{19} + 9135 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{17} + 161280 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{16} - 218484 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{15} - 107520 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{14} + 653940 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{13} + 537600 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{12} - 1183770 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{11} + 322560 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{10} + 1183770 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{9} - 653940 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{7} + 414720 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{6} + 218484 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{5} - 46080 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{4} - 9135 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{3} + 25600 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{2} - 945 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) + 2560\right )}}{{\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{2} + 1\right )}^{10} a}}{80640 \, d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^8*sin(d*x+c)^3/(a+a*sin(d*x+c)),x, algorithm="giac")

[Out]

-1/80640*(945*(d*x + c)/a + 2*(945*tan(1/2*d*x + 1/2*c)^19 + 9135*tan(1/2*d*x + 1/2*c)^17 + 161280*tan(1/2*d*x
 + 1/2*c)^16 - 218484*tan(1/2*d*x + 1/2*c)^15 - 107520*tan(1/2*d*x + 1/2*c)^14 + 653940*tan(1/2*d*x + 1/2*c)^1
3 + 537600*tan(1/2*d*x + 1/2*c)^12 - 1183770*tan(1/2*d*x + 1/2*c)^11 + 322560*tan(1/2*d*x + 1/2*c)^10 + 118377
0*tan(1/2*d*x + 1/2*c)^9 - 653940*tan(1/2*d*x + 1/2*c)^7 + 414720*tan(1/2*d*x + 1/2*c)^6 + 218484*tan(1/2*d*x
+ 1/2*c)^5 - 46080*tan(1/2*d*x + 1/2*c)^4 - 9135*tan(1/2*d*x + 1/2*c)^3 + 25600*tan(1/2*d*x + 1/2*c)^2 - 945*t
an(1/2*d*x + 1/2*c) + 2560)/((tan(1/2*d*x + 1/2*c)^2 + 1)^10*a))/d